/* 全局组件样式 - 面包屑导航和增强页面头部 */

/* 面包屑导航样式 */
.breadcrumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.breadcrumb .breadcrumb-item.active {
    color: #ffffff;
    font-weight: 600;
}

.breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: rgba(255, 255, 255, 0.7);
    margin: 0 8px;
}

/* 增强型页面头部样式 */
.page-header-enhanced {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.page-header-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.page-header-enhanced .header-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.page-header-enhanced .header-main {
    flex: 1;
    min-width: 300px;
}

.page-header-enhanced h1 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.page-header-enhanced .page-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.6;
    font-weight: 400;
}

.page-header-enhanced .header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-header-enhanced {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .page-header-enhanced .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .page-header-enhanced h1 {
        font-size: 2rem;
    }
    
    .page-header-enhanced .page-description {
        font-size: 1rem;
    }
    
    .breadcrumb {
        padding: 10px 15px;
        margin-bottom: 15px;
    }
}

/* 统一的导航链接样式 */
.nav-link {
    display: inline-block;
    margin-bottom: 25px;
    color: rgba(100, 150, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.nav-link:hover {
    color: white;
    background: rgba(100, 150, 255, 0.3);
    transform: translateX(5px);
    text-decoration: none;
}

@media (max-width: 480px) {
    .page-header-enhanced h1 {
        font-size: 1.75rem;
    }
    
    .page-header-enhanced .header-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 8px 12px;
        margin-bottom: 20px;
    }
}

/* 世界杯呼吸动画样式 */
.worldcup-notification {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.3));
    border: 2px solid rgba(255, 215, 0, 0.6);
    border-radius: 25px;
    color: #ffd700;
    font-weight: 600;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    animation: worldcup-breathing 2s ease-in-out infinite;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.worldcup-notification:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 165, 0, 0.4));
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
    color: #ffd700;
    text-decoration: none;
}

.worldcup-notification .worldcup-icon {
    font-size: 1.1rem;
    animation: worldcup-icon-pulse 1.5s ease-in-out infinite;
}

.worldcup-notification .worldcup-text {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* 呼吸动画关键帧 */
@keyframes worldcup-breathing {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(255, 215, 0, 0.5);
    }
}

/* 图标脉冲动画 */
@keyframes worldcup-icon-pulse {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.1);
        filter: brightness(1.3);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .worldcup-notification {
        padding: 6px 12px;
        font-size: 0.8rem;
        gap: 6px;
    }
    
    .worldcup-notification .worldcup-icon {
        font-size: 1rem;
    }
    
    .worldcup-notification .worldcup-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .worldcup-notification {
        padding: 5px 10px;
        font-size: 0.75rem;
        gap: 5px;
    }
    
    .worldcup-notification .worldcup-icon {
        font-size: 0.9rem;
    }
    
    .worldcup-notification .worldcup-text {
        font-size: 0.7rem;
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}